package com.laicunba.jms;

import javax.jms.Message;

public interface JmsTopicListener {
	String topic();

	/**
	 * 是否持久化订阅
	 * 
	 * @return
	 */
	boolean isDurable();

	boolean receive(Message msg);

}
